package com.example.test.bean.DTO.output;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 订单所含商品表
 * </p>
 *
 * @author zjtoprs
 * @since 2022-04-08
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value="OrderGoodsListOutputDTO", description="订单所含商品表列表")
public class OrderGoodsListOutputDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品数量")
    private Integer goodNum;

    @ApiModelProperty(value = "商品单价")
    private Double sellPrice;

    @ApiModelProperty(value = "商品总价")
    private Double sumSell;

    @ApiModelProperty(value = "是否充足(0-充足 ，1-不足)")
    private Boolean isEnough;

}
